/**
 *  LongConstantLocation.java : IceBird project
 *  17:31:14 
 */
package icebird.compiler.ncomp.vs;

import icebird.metadata.BasicType;

/**
 * @author Sergey Shulepoff[Knott]
 */
public final class LongConstantLocation extends ConstLocation {
	
	private long value;
	
	public LongConstantLocation(long v) {
		super("long(" + v + ")");
		value = v;
	}
	
	/**
	 * Gets value of constant.
	 * @return long
	 */
	public long getValue() {
		return value;
	}

	/* (non-Javadoc)
	 * @see icebird.compiler.ncomp.vs.ConstLocation#getType()
	 */
	public BasicType getType() {
		return BasicType.Long;
	}

}
